<?php
namespace app\shop\controller;
use think\Db;
class Help extends Base{
    public function scenic_intro(){
        $id=input("param.id");
        $url=$this->request->domain();
        $cates=Db::name('cates')->where('f_id',0)->where('state',1)->select();
        $spotDetail=Db::name('scenic_spot')->where('id',$id)->find();
        $this->assign('spotDetail',$spotDetail);
        $this->assign('cates',$cates);
        $this->assign('url',$url);
        $this->assign('id',$id);
        $this->assign('system',$this->system_set());
        return $this->fetch();
    }
}
